package v1

import (
	"dubbo-go-app/api"
	v1 "dubbo-go-app/pkg/internal/service/v1"
)

type GreeterServer struct {
	api.UnimplementedGreeterServer
	srv v1.ServiceFactory
}

func NewActivityServer(srv v1.ServiceFactory) *GreeterServer {
	return &GreeterServer{srv: srv}
}

var _ api.GreeterServer = &GreeterServer{}

//func NewActivityServer(srv srv1.ActivitySrv) *activityServer {
//	return &activityServer{srv: srv}
//}
